﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 违章处理申请表
    /// 版 本：V2.6.200612
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2018-07-17 
    /// </summary>
    [Table("WFORM_VIOLATIONHANDLING")]
    public class ViolationHandlingEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 流程主键
        /// </summary>
        [Column("F_FLOWID")]
        public string FlowId { get; set; }
        /// <summary>
        /// 流程标题
        /// </summary>
        [Column("F_FLOWTITLE")]
        public string FlowTitle { get; set; }
        /// <summary>
        /// 紧急程度
        /// </summary>
        [Column("F_FLOWURGENT")]
        public int? FlowUrgent { get; set; }
        /// <summary>
        /// 流程单据
        /// </summary>
        [Column("F_BILLNO")]
        public string BillNo { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        [Column("F_PLATENUM")]
        public string PlateNum { get; set; }
        /// <summary>
        /// 驾驶人
        /// </summary>
        [Column("F_DRIVER")]
        public string Driver { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        [Column("F_LEADINGOFFICIAL")]
        public string LeadingOfficial { get; set; }
        /// <summary>
        /// 违章日期
        /// </summary>
        [Column("F_PECCANCYDATE")]
        public DateTime? PeccancyDate { get; set; }
        /// <summary>
        /// 通知日期
        /// </summary>
        [Column("F_NOTICEDATE")]
        public DateTime? NoticeDate { get; set; }
        /// <summary>
        /// 限处理日期
        /// </summary>
        [Column("F_LIMITDATE")]
        public DateTime? LimitDate { get; set; }
        /// <summary>
        /// 违章地点
        /// </summary>
        [Column("F_VIOLATIONSITE")]
        public string ViolationSite { get; set; }
        /// <summary>
        /// 违章行为
        /// </summary>
        [Column("F_VIOLATIONBEHAVIOR")]
        public string ViolationBehavior { get; set; }
        /// <summary>
        /// 违章扣分
        /// </summary>
        [Column("F_DEDUCTION")]
        public string Deduction { get; set; }
        /// <summary>
        /// 违章罚款
        /// </summary>
        [Column("F_AMOUNTMONEY")]
        public decimal? AmountMoney { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [Column("F_DESCRIPTION")]
        public string Description { get; set; }
    }
}
